<template>
	<view class="mySchedule">
		<view class="content">
			<view class="scheItem">
				<view class="itemTop">
					<view class="left">
						<text>09月10日</text>
					</view>
					<view class="right">
						<view class="iconfont icon-bianji4">
						</view>
						<u-switch v-model="switchValue" activeColor='rgba(68, 212, 168, 1)'></u-switch>
					</view>
				</view>
				<view class="itemCon">
					<view class="time">
						<text>08:00-12:00</text>
					</view>
					<view class="time">
						<text>14:00:-16:00</text>
					</view>
					<view class="time">
						<text>18:00-21:00</text>
					</view>
				</view>
			</view>
		</view>
		<view class="commonBtn" @tap="goto('pages/owns/scheduling/schedulingAdd')">
			<view class="btnCon">
				<text>新增排班</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				switchValue: false
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.mySchedule {
		position: relative;

		.content {
			padding: 12rpx;

			.scheItem {
				background: rgba(255, 255, 255, 1);
				border-radius: 24rpx;
				padding: 24rpx;

				.itemTop {
					display: flex;
					justify-content: space-between;

					.left {}

					.right {
						display: flex;
						align-items: center;

						.iconfont {
							font-size: 32rpx;
							margin-right: 48rpx;
						}
					}
				}

				.itemCon {
					display: flex;
					flex-wrap: wrap;

					.time {
						width: 25%;
						height: 40rpx;
						border-radius: 8rpx;
						background: rgba(246, 248, 252, 1);
						display: flex;
						justify-content: center;
						align-items: center;
						padding: 4rpx;
						font-size: 24rpx;
						margin-right: 20rpx;
						margin-top: 28rpx;
					}
				}
			}
		}
	}
</style>